<?php
	/**
	 *	KLF Framework
	 *
	 *	Written by Kristian Oye <kristianoye@gmail.com> on Oct 23, 2011
	 *	Copyright (C) 2010-2011
	 */
	namespace KLF\System\Errors
	{
		/**
		 *  Class KReadOnlyException
		 *
		 *  A read-only item was accessed inproperly.
		 *
		 *  @package KLF\System\Errors
		 *  @access public
		 *  @author Kristian Oye <kristianoye@gmail.com>
		 *  @since 0.1
		 */
		use KLF\KCore;

		class KReadOnlyException extends KException
		{
			public function __construct($itemType, $itemName)
			{
				parent::__construct(KCore::FS("{type} '{name} is read-only", array(
					'type' => $itemType, 'name' => $itemName)));
			}
		}
	}